Now calling setViewerMode() when starting/stopping viewer
Merge pull request #3 from owncloud/sidebarfix

Now calling setViewerMode() when starting/stopping viewer