Adjusting the header size and layout