javascript function to scroll the page to top