DE22504: Fixing paging toolbar not displaying when Iteration Tracking is...

... a custom app

Also fixed optimizeHeaderLayout to actually get rid of the header when optimize toggle is on.