fix viewPager for nonlooping pageSelected callback