add search to section contents
display sections by default on TOC
write/fix tests and fix bug for messed up views