adding accordions to document view