Bug Fixing for displaying pdf book

Minor bug fixing of issues displaying the pdf book.  Fixes the problems
occurring when the page is zoomed in and is larger than the screen size.