Added condition to only resize header on landscape, it looked bad on portrait orientation