refactor scroll animations