Fix footers and adjust height of main page