tooltip for svg element: using bbox to get width and height to set tooltip positions