added click events for search/results