Markup order edits to all theme template files

moving sidebar before <main> for easier transition to smaller screens