fixed animation not working on firefox