split ShellFunctions, added PREV, TOC, NEXT page navs