Add the getmaxyx for footer and header when created.