Display the popover on the correct side