Fit popover to max width