added animation to buttons