added some comments to pagination example