fix the default animation for firefox.