int getPageIndexForGroupIndex(int groupIndex) { int pageIndex = groupIndex; if (showIntroduction) { pageIndex++; } return pageIndex; }