add mouse action listener