added another loop in dragAndDropView