Adding css3 transition for demo