adding animation to firefox