modified drag and drop behaviour