dispatch transitionend event the old way if window.TransitionEvent doesn't exist