iOS 8 table of contents fixes.

Change-Id: Ic2a9571ba175686ec943e678ba039192cf72fb2c