Making the tooltip follow the mouse and adding cursor lines