set popover arrow left when close to the edge