title: halting pdf.js page rendering
body: <p>I have used pdf.js to create a simple pdf viewer that has 2 pages side by side with next,previous buttons and some other features. I used the helloworld example available with the pdf.js repo as the viewer.js file was too complicated for a noob like me. However when I click the previous/next button several times pdf.js renders all the pages instead of the expected last page. It creates a mess. The following example by pdf.js have the same problem. 
  <a href="http://jsbin.com/pdfjs-prevnext-v2/1/edit" rel="noreferrer">http://jsbin.com/pdfjs-prevnext-v2/1/edit</a> (link seems to work in firefox only.)</p>
  
  <p>I want to know what are the ways to make pdf.js render only the last page reached by next/previous buttons. pdf.js api did not help me much. Hope I will get some guidance here. Thanks in advance. </p>