so the animation works in firefox