fixed gallery thumbnail grid to be pretty and nice. Fixed clipped rotated images in zoom view