Cleaned up code that made the dynamic view controllers