add css3 transition for buttons