moved main element

Moved main element on top of the correct footer for grid div