Adding drag and drop events on input