function disablePreventDefaultVertically(pinchRecognizer) {
  const TOUCH_ACTION_PAN_Y = "pan-y";

  pinchRecognizer.getTouchAction = function () {
    // default method returns [TOUCH_ACTION_NONE]
    return [TOUCH_ACTION_PAN_Y];
  };

  return pinchRecognizer;
}
Hack the PinchRecognizer such that it doesn't prevent default behavior
for vertical panning.

Yeah ... this is quite a hack ... see https://github.com/hammerjs/hammer.js/issues/932
@param {Hammer.Pinch} pinchRecognizer
@returns {Hammer.Pinch} returns the pinchRecognizer