adding left mouse click handling