moved paginatedgallery and paginatedgalleryadapter to this library fromgwssanfran app