one more update to requestAnimationFrame