I was trying to extract a pdf file which is rendered using pdf.js in my browser canvas element.. the pages of the pdf file adds up only when I scroll down. Is there any simp