Cross-Platform requestAnimationFrame