directory: de-duplicate icons, details/mobile views

closes #968