The scrollBy() method of the Element interface scrolls an element by the given amount.
scrollBy()
MDN Reference