This fiddle is almost what I\'m looking for, I got it from MDN. The only thing missing is that I want to make it smoother. Is there a way to do that without using jQuery or any
If you don't want to keep track of the scroll position, you can use scrollBy instead of scrollTo.
container.scrollBy({ top: 0, left: +500, behavior: 'smooth' })