Actually stop previewing once the maximum number of pages has been reached

Change-Id: Ife83792db9955758da91981c0404f82ee9dcd305
Signed-off-by: Adam Nielsen <malvineous@shikadi.net>