Fix for line wrapping in TOC in iOS 6.

Faster (hopefully) performance in iOS 6 as well.

Change-Id: I157e535bc12f3a0e87a1986fa61a26cf58694dfd