added mouse click and mouse move events