adds toggle functionality to search results #122