fix gallery height and center images