Auto-resize the main container in master page

By Anatoly Mironov