second approach to the olapicGallery widget, pagination added