Off-by-one error when navigating to previous page

When navigating to the previous page with allowLoops_ set to true, the first page (index 0) was being skipped.