drag and drop for matrix view