Revert "Fix a programmatic smooth scroll bug"

This reverts commit 133cd583343fe10a45912af4bc4a01024ccd9e82.