consolidate gallery styles