Move tooltip out of the way when it's being hidden because it blocks the graph. Perhaps could also use z-index