Acquisitions - Additional Information (Detail) - USD ($)
3 Months Ended 12 Months Ended
Dec. 31, 2016
Aug. 31, 2016
Jul. 25, 2016
Feb. 16, 2016
Sep. 22, 2014
Dec. 31, 2016
Oct. 01, 2016
Jul. 02, 2016
Apr. 02, 2016
Jan. 02, 2016
Oct. 03, 2015
Jul. 04, 2015
Apr. 04, 2015
Dec. 31, 2016
Jan. 02, 2016
Jan. 03, 2015
Dec. 31, 2004
Business Acquisition [Line Items]                                  
Estimated fair value of contingent consideration                           $ 3,000,000      
Goodwill $ 108,060,000         $ 108,060,000       $ 65,635,000       $ 108,060,000 $ 65,635,000    
Goodwill deductible for tax purposes                                 $ 63,800,000
Earn-out contingency liability, basis for amount                           Pursuant to the SPA, had WinDoor’s 2016 calendar-year sales (including both the pre-acquisition and post-acquisition periods of 2016) reached at least $46.0 million, the Company was required to pay 5.9% of WinDoor’s sales, or approximately $2.7 million, up to a maximum sales amount of $51.0 million, or approximately $3.0 million. If WinDoor’s 2016 calendar-year sales were less than $46.0 million, no payment was required. The potential undiscounted amount of all future payments that could be required to be paid under the contingent earn-out consideration arrangement was between $0 and $3.0 million. We had recorded an earn-out contingency liability of $3.0 million on the closing date, which represented its then estimated fair value using undiscounted cash flows, based on probability adjusted level of revenues with a range whose minimum was $51.0 million.      
Net sales           109,504,000 $ 129,807,000 $ 119,033,000 $ 100,206,000 93,008,000 $ 100,668,000 $ 100,833,000 $ 95,301,000 $ 458,550,000 389,810,000 $ 306,388,000  
Increase in acquired deferred tax assets with a corresponding decrease to goodwill         $ 900,000                        
Net income           4,122,000 $ 10,796,000 $ 7,350,000 $ 1,479,000 $ 3,774,000 $ 6,346,000 $ 6,780,000 $ 6,652,000 23,747,000 $ 23,552,000 16,405,000  
CGI [Member]                                  
Business Acquisition [Line Items]                                  
Acquisition of CGI, transaction value         $ 110,400,000                        
Business combination, acquisition related costs                               1,700,000  
Goodwill 65,635,000         65,635,000               65,635,000      
Goodwill deductible for tax purposes 9,300,000         9,300,000               9,300,000      
Net sales                               13,300,000  
Intangible assets 45,300,000         45,300,000               45,300,000      
Accounts payable and accrued liabilities 4,136,000         4,136,000               4,136,000      
Net income                               $ 148,000  
WinDoor [Member]                                  
Business Acquisition [Line Items]                                  
Acquisition of CGI, transaction value 102,571,000     $ 102,600,000                          
Cash payment to acquire business 99,571,000     43,500,000                          
Estimated fair value of contingent consideration 3,000,000     $ 3,000,000                          
Business combination, acquisition related costs                           900,000      
Goodwill 41,856,000         41,856,000               41,856,000      
Goodwill deductible for tax purposes 38,900,000         38,900,000               38,900,000      
Earn-out contingency liability 3,000,000         3,000,000               $ 3,000,000      
percentage of earn out contingency payment on sales revenue goods net                           5.90%      
Fair value of contingent consideration, undiscounted low range of estimates                           $ 0      
Fair value of contingent consideration, undiscounted high range of estimates                           3,000,000      
Fair value of contingent consideration based on undiscounted probability adjusted minimum revenue estimates 51,000,000         51,000,000               51,000,000      
Amount of earn out contingency payment on sales revenue goods net when sales were less than $46 million                           0      
Adjustment to Goodwill deductible for tax purposes                           3,000,000      
Intangible assets 47,100,000         47,100,000               47,100,000      
Accounts payable and accrued liabilities 2,320,000         2,320,000               2,320,000      
WinDoor [Member] | Minimum [Member]                                  
Business Acquisition [Line Items]                                  
Sales revenue achievement level for recording earn out contingency payment                           46,000,000      
Amount of earn out contingency payment on sales revenue goods net                           2,700,000      
WinDoor [Member] | Maximum [Member]                                  
Business Acquisition [Line Items]                                  
Sales revenue achievement level for recording earn out contingency payment                           51,000,000      
Amount of earn out contingency payment on sales revenue goods net                           3,000,000      
Net sales                           46,000,000      
US Impact Systems Inc [Member]                                  
Business Acquisition [Line Items]                                  
Acquisition of CGI, transaction value   $ 1,900,000 $ 1,900,000                            
Goodwill   600,000                              
Goodwill deductible for tax purposes $ 600,000         $ 600,000               $ 600,000      
Current and other assets   1,800,000                              
Intangible assets   600,000                              
Accounts payable and accrued liabilities   $ 1,200,000