figured out a solution for having the panel showing for touch devices and desktop devices. Desktop devices pointer-events work fine, but touch devices they disable scroll. So for touch we've had to resposition the wrapper on touchstart and touchend. Need to evaluate if this solution works on the desktop, as we could just use that one solution for both then.
cleaned up, now working on all directions