so essentially created a border that handles the drag and the on click functionality would be kept inside the widget itself, correct?