implementing new header and footer layouts for mobile pre-fixes