Change window.location.hash when scrolling