first attempt logic to get box to be draggable in any direction, fix nil error for examiner with a method