Now calling setViewerMode() when starting/stopping viewer

This makes it work properly with the sidebar.

@owncloud/designers @MorrisJobke