clean records on mouseup & mousedragend