add support for hide/show documents part