finalize drag and drop view