Added full loop for continuous animation.