Income Taxes - Additional Information (Detail) - USD ($)
12 Months Ended
Dec. 31, 2016
Jan. 02, 2016
Jan. 03, 2015
Dec. 31, 2004
Income Taxes [Line Items]        
Income tax expense from reversal of intra-period income tax allocation   $ 1,600,000    
Goodwill deductible for tax purpose       $ 63,800,000
Operating loss carryforwards $ 1,900,000 3,800,000 $ 6,100,000  
Operating loss carryforwards, expiration date 2027      
Valuation allowance     0  
North Carolina [Member]        
Income Taxes [Line Items]        
Valuation allowance against net operating losses   100,000    
Net operating losses carryforward $ 200,000      
Internal Revenue Service (IRS) [Member] | Earliest Tax Year [Member]        
Income Taxes [Line Items]        
Open tax years for examination 2011      
Internal Revenue Service (IRS) [Member] | Latest Tax Year [Member]        
Income Taxes [Line Items]        
Open tax years for examination 2016      
CGI [Member]        
Income Taxes [Line Items]        
Goodwill deductible for tax purpose $ 9,300,000      
Deferred tax asset and liability 0      
Unamortized goodwill $ 6,500,000 $ 7,700,000    
Goodwill remaining amortization period for tax purposes 7 years 4 months 24 days      
Business combination, acquisition related costs     $ 1,700,000  
WinDoor [Member]        
Income Taxes [Line Items]        
Goodwill deductible for tax purpose $ 38,900,000      
Unamortized goodwill 36,500,000      
Business combination, acquisition related costs 900,000      
US Impact Systems Inc [Member]        
Income Taxes [Line Items]        
Goodwill deductible for tax purpose 600,000      
Unamortized goodwill 600,000      
Domestic Country [Member]        
Income Taxes [Line Items]        
Operating loss carryforwards 1,200,000      
State [Member]        
Income Taxes [Line Items]        
Operating loss carryforwards $ 800,000