return current fragment index through getIndices, replaces getCurrentFragmentIndex #395