Roll.js is a tiny javascript library (less than 8kb, no dependencies) to help you keep track of position, scrolling, and pagination.
Roll.js – Scroll tracking with javascript
Code

Roll.js is a tiny javascript library (less than 8kb, no dependencies) to help you keep track of position, scrolling, and pagination.