add mouse listener on panel to show position.