moved main element above correct footer

moved main element above correct footer