docs: function pointerUp(e) {
          // Does our event is the same as the activePointer set by pointerdown?
          if (activePointer && activePointer.id === e.pointerId) {
              // Have we moved too much?
              if (Math.abs(activePointer.x - (e.x || e.pageX)) < 5 &&
                  Math.abs(activePointer.y - (e.y || e.pageY)) < 5) {
                  // Have we scrolled too much?
                  if (!isScrolling ||
                      (Math.abs(sDistX - window.pageXOffset) < 5 &&
                      Math.abs(sDistY - window.pageYOffset) < 5)) {
                      makePointertapEvent(e);
                  }
              }
          }
          activePointer = null;
      }