Fixing scrolling issue for pages

Fixing scrolling issue for pages