restore layout partials to views