changed the gallery view