add basic animation for buttons