ownCloud 6 fixes

(The sidebar width is not compatible with ownCloud 5 probably, except that it should be fine.)

Please review @eMerzh @raghunayyar @dansoap