Revert scroll logic