Use jQuery.scrollTop(0) to scroll the page to the top when changing url.