Added drag and drop functionality.