added the gallery view