fix gallery sizes