change use of requestAnimationFrame