mobile optimizations for footer and header