function cancelEvent(e) {
        e.stopPropagation();
        if (e.preventDefault) e.preventDefault();
        e.returnValue = false;
    }
Cumulative scroll delta amount. This value is accumulated through scroll
events and results in scroll button clicks if it exceeds a certain
threshold.