adding css3 transitions