properly center the main container