Prevent page from unnecessary scrolling