window.smoothScrollBy and window.smoothScrollTo with easing