Constraining popover image dimensions and centering image