function scrollContainer() {
	return animate();

	function animate() {
		const scroll = getScroll();
		if (!scroll) return;
		$parent.scrollLeft += scroll;
		animationFrame = requestAnimationFrame(animate);
	}
}
Scrolls the container using animation frame