Flexible scrollend event for the browser.