move the tooltip to the left when it overflows