Fix dynamic sizing of popover's