add transition style