Fix for PageIndex with incomplete Swipes

As Proposed by Benjamin Hutchins on http://cubiq.org/swipeview,
2013/03/13