added transition to buttons