added ability fro galleries sc to show paged