disable continuous animation on mobile