amended originalScroll fix as per Gamemaniak's pull request