fixing chrome's recent break of animations and transitionend