[#861816] Fixed up gallery view a bit.