Move tooltip box over if it goes off the right side.