requestAnimationFrame for Firefox