Updates test_animation to work on scroll