transition end event fix