responsive and gallery resize