move #main.container to layout