Why are you even doing anything with the scrolling? Something someone can do in JavaScript in a WebPage is better than the implementation in my touch pad on my Mac?
In order for this current design to work smoothly across platforms, devices, and input methods, however, it'll need to be re-implemented, and it was probably a mistake to try something so ambitious in the time we had available.