//Instant scroll to top of page window.scrollTo(0, 0);
how to scroll to top of a page automatically using javascript