add transition on open