yo(selector).scrollTo(to, duration)

Scroll the element to the position “to” and the duration in mileseconds

yo(document.body).scrollTo(yo('.myclass').el().offsetTop, 1000);

Go to index