I am trying to scroll from one position on the page to another but animate it. I have not found a simple way to do this. In order to scroll the page I have to use the window.scrollTo method to set the position, but i cant find a way to use an animation to call this in a loop to animate it. Any ideas?