Fixes header and footer layout for all resolutions