prefix requestAnimationFrame if needed