[fix] custom transition events for firefox