added views for galleries