Updated the Table of Contents view, and fixed the rotation with auto layout.