added animation for buttons