JS: requestAnimationFrame scroll event

for better performance