Transitionend event name detection