Move last <div> inside code block