Expand/collapse multiple documents

PR for issue #384

Have to little bit change one method of Notifier, I've found two usages of it and seems nothing broke :)