code: function mouseWheel(evt) {
    let oevt = evt.originalEvent;
    let delta = 0;
    let deltaY = 0;
    let deltaX = 0;
  
    if (oevt.wheelDelta) {
      delta = oevt.wheelDelta / 120;
    }
    if (oevt.detail) {
      delta = oevt.detail / -3;
    }
  
    deltaY = delta;
  
    if (oevt.hasOwnProperty) {
      // Gecko
      if (oevt.hasOwnProperty('axis') && oevt.axis === oevt.HORIZONTAL_AXIS) {
        deltaY = 0;
        deltaX = -1 * delta;
      }
  
      // Webkit
      if (oevt.hasOwnProperty('wheelDeltaY')) {
        deltaY = oevt.wheelDeltaY / +120;
      }
      if (oevt.hasOwnProperty('wheelDeltaX')) {
        deltaX = oevt.wheelDeltaX / -120;
      }
    }
  
    evt.wheelDeltaX = deltaX;
    evt.wheelDeltaY = deltaY;
  
    return this.mouseWheel(evt);
  }
docs: Normalize mouseWheel events