fix header display issue on small screens