optimize header for smaller displays