fixed the scrolling in pages other than index