Finish adding drag & drop function.