Implement progressive loading of PDFs