added ability to drag and drop rows to swap entries to gui