implementation XHPageIndexPath logic