Fixed a bug where shifting all the way to the right didn't put the ViewPager on the right page.