Better positioning of tooltip on scroll

The positioning of the tooltip is more closely positioned to the svg element when the element is partially rendered off screen and then the user scrolls the window to reveal the entire svg element.