working with responsivity of gallery