restart animation on click