delete the "mPageNo = 0" line to get page switch normal