auto-position tooltips/popovers