window -> w tweak in RequestAnimationFrame