Fixed old-school browser support
The onscroll callback was not working properly, replaced with a setTimeout. Only used if none of the window.requestAnimationFrame's are available.
Added NPM support
The onscroll callback was not working properly, replaced with a setTimeout. Only used if none of the window.requestAnimationFrame's are available.
Added NPM support