algorithm: gallery | Slate