How to stop the page from automatically scrolling without disabling the scrollbar?