Made the gallery responsive