added views for the gallery