code: function centeringProperties({ oDim, wDim, tPos, tDim }) {
    const center = Math.round(tPos + (tDim / 2));
    const leftOffset = (oDim / 2) - center;
    const rightOffset = center + (oDim / 2) - wDim;
    return { center, leftOffset, rightOffset };
  }
docs: computes offsets (off screen overlap) of popover when trying to align it to the center