re #91 - slightly better gallery mixin