Hack turbolinks to swap out the <main> element rather than the body