Put tooltip/popover on bottom if there is not enough space on top
Merge pull request #1002 from jazzzz/auto-tooltip-popover

Put tooltip/popover on bottom if there is not enough space on top