creates new layout for main table view and fixes broken views from xcode 5-DP