I have try to animate using timer to repeat to call the function the animation only work two times after it's not working.