GPII-147, GPII-160: fixed ToC links

Now only looking for headers that are in the simplified content. This is done with a complex selector passed to the ToC. I had attempted to use the ToC's refresh capabilities to rerender the ToC when simplified, but was unable to get the timing right.