wrote continuous scrolling in coffeescript