picture sizing and popover positioning