Migrate Gallery: detailed view to BS 3