implemented mozRequestAnimationFrame - for FireFox