Add transitions to hover effects.