Made line editor draggable