Add requestAnimationFrame