Fixing jumpiness for large scrolls

https://github.com/noraesae/perfect-scrollbar/issues/16
Merge pull request #34 from itsdrewmiller/master

pull request for the fix provided in issue 16, for both vertical and horizontal scrolling