adjust popover placements