Toggle header-footer visibility.

Change-Id: Ia9f69ebbe309f824f29e52962e95e5311b8221f0