add interaction between searchBar and History views