add currentPageIndex property
Merge pull request #2 from bzhang443/master

add a currentPageIndex property to support prev/next kind of function