Center popover above/below

fixed popover position to show at the horizontal center of triggerElement when
placement is top or bottom,