Fix the navbar display issue on small screens