Ensure that transitionend triggers across platforms and browsers