Added CSS3 transitions to improve performance