set max-width for verital layout