The scrollTo() method of the Element interface scrolls to a particular set of coordinates inside a given element.
scrollTo()
Element
external void scrollTo([JSAny optionsOrX, num y]);