implement basic mouse click support