tightened the theme, added TOC support to pages