added search functionality to side bar