ensure transitionEnd callback.