Move titles into doc divs