Fix Chromium scrolling animations

There is actually one more instance of `$('html')` but that area of the code is broken in other browsers as well, so I'll fix it separately.