A minimal implementation of smooth scrolling in the browser