fixing search controller showing navigation bar issue