replace native browser scrolling routine