Scroller isNaN() and Math optimizations in methods that are called every frame

Optimzed some of the methods in the Scroller component that are called every frame while scrolling.
This just might make scrolling a bit smoother.