Fixed problem with going to first page in book mode