added tableview resize when searching on left menu

made searchbar property public to be accessed in main controller