force popover arrows to a reasonable direction