added in requestAnimationFrame shim