auto placement of the tooltips