Improve header and footer responsiveness