fix positioning of popover