Added handling for positioning.
Added handling to close the tooltip.