A better, smoother, more performant window.onscroll event interface using requestAnimationFrame for performance and mobile-compatibility