On reposition hide the popover if the target is not visible anymore