Added animation end event listener support