smarter search bar placement