Minor adjustments for galleries