fixing animation on button.