adds appropriate keyframes for firefox