Use display link instead of timer for animation
Disable animation when view is not visible