add emulateTransitionEnd Dimmer, make sure transition end event triggered