onMouseUp handler added.