added draw new lines and select and move existing lines