requestAnimationFrame used