previous/next chapter navigation buttons added, chapterrepository debug