Updated gallery view to include params setting
#6 Added tests for galleryview params