adds animations to buttons