better centering for tooltips