Hide header on non-main pages if small display