Add firefox support for animation