Changed click handler to onMouseDown and onMouseUp bindings