RequestAnimationFrame implemented