fixing popover positioning