Fix for document.body.scrollTop vs document.documentElement

https://developer.mozilla.org/en-US/docs/Web/API/Window.scrollY