Adding drag and drop functionality