hidden instead of none visibility will avoid jumps and blank pages

fixes https://github.com/owncloud/core/issues/9368

can you give it a try @jancborchardt @raghunayyar @MorrisJobke