Update prev/next handler
v1.1.17-beta2: update toc handler