Revert scroll detection changes