Use transition end event instead of timer