ensuring that the fixed header works across viewport widths