Add Looping Mode in Animate