Light-weight/high-performance/dependency-free scroll handling for the browser