change: Optimize the viewpager logic