add mobile styles to gallery

backport of https://github.com/owncloud/apps/pull/1607 to stable6, making the gallery more accessible on mobile devices in combination with https://github.com/owncloud/core/pull/7083

@jancborchardt @DeepDiver1975 please review