Uses requestAnimationFrame for high performance scrolling. If a browser doesn't support requestAnimationFrame, it gracefully falls back to no animations.
Javascript only 820b when compressed.
Based on Paul Lewis's Leaner, Meaner, Faster Animations with requestAnimationFrame https://www.html5rocks.com/en/tutorials/speed/animations/