Modified Main Layout.