remove scroll locking code