re #73 - slightly better gallery mixin