fixed search bar so that it works according to specs.
fixed search bar, finished and working