added scaling of segments when dragging over editorview