Add transition to buttons