Fixing transitionend sniffing for firefox