Added the search box functionality