put flashes and main content in a row