Adjusted the doc show to fit the new layouts
Separated show and view for documents