move header & footer into their own views