Bug 822392 - Remove animationend listener when the event has been received