Create requestAnimationFrame