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