Fixed display issue with search bar for screens smaller than 1024