updated search details view adding and removing behaviour