Specify custom behavior on mouseup event.