Polyfill for window.scrollTo(x, y, 'smooth');