Fixed bug in the Sidebar

The previews are shown even if the sidebar was
initially hidden
Merge branch 'gtk3' of github.com:x2b/xournalpp into gtk3