Add transitions to buttons