adds drag n drop and selection