fixed gallery cropping