fix navigating the book with arrows