I have built a sample code to keep the header fixed, which is also working. The issue is on scrolling x-axis scroll at the end the alignment gives away. The header moves more than the body alignment. Please help me in fixing it. The code is as below.