fix animation of sidebar and prevent horizontal scrollbar, fix #9284

Fixes the missing animation of the sidebar on narrow screens, fix https://github.com/owncloud/core/issues/9284

Please review @owncloud/designers @PVince81