Added zero-based pageIndex property

Fixed #125