fix gallery items styles