Your "smooth-scroll" library is completely breaking my touchpad scroll with an Acer c720 Chromebook. One slight movement (which should be a few pixels scroll) is moving me over half-way down the screen. Makes your site unusable with this touchpad as accidental scrolling sometimes happens and moves the screen a whole page away, especially when trying to right click open links because the gestures are similar.
Smooth scrolling is already implemented correctly in the browser. Your implementation is just a hack that hijacks the normal behaviour a user is accustomed to and just gives back a version that just feels wrong to interact with, even without performance issues.
That said, if I'm being honest, it's fairly unpleasant to use on a desktop with a mouse. It scrolls you to the top after it loads (which is after the rest of the page), and behaves differently than the computer normally does...
I made a change to the code, but since I don't have a touchpad, I won't be able to tell if it's fixed. Let me know what happens if you happen to go back to the page.
It's still not working well on my touchpad. It stutters badly. I honestly would recommend removing it. I checked it on my desktop. It works there, but the difference scroll speed is unhelpful and actually a little bothersome.
Your "smooth-scroll" library is completely breaking my touchpad scroll with an Acer c720 Chromebook. One slight movement (which should be a few pixels scroll) is moving me over half-way down the screen. Makes your site unusable with this touchpad as accidental scrolling sometimes happens and moves the screen a whole page away, especially when trying to right click open links because the gestures are similar.