added css3 transitions to the cards