fixed ui concerning dragging and dependency-making