trying to fix firefox animation issues