update table of contents for subpages to floating box