Adds a scrollBehavior parameter to all scrollToX functions. The parameter accepts 3 values (auto, instant, smooth) (MDN Docs).
scrollBehavior
auto
instant
smooth
This resolves #20 by setting scrollBehavior to smooth.