added dragging functionality to map editor