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

current version support only gesture to scroll, a similar requirement is to add previous / next button to navigate throughout next/previous page. Updated version simply add the currentPageIndex to support this function.