Implemented drag & drop functionality.