making the view of the gallery module to be simpler