Update app/helpers/pdfjs/viewer_helper.rb

display last page on click