These are the changes I made

I made the following changes to my local copy of the ListViewer Im not sure if they are accurate but the things I was trying to do started working as expected.
I sent an example that might need initiation of a pdfandloading added to it but it should probably be runnable by using an array to send in different values scrolling from top top bottom of the pdf. The reason I think this is wrong though is that this.canavas ofsetLeft is added in another place. So I think it might be added twice. Im not sure that this is correct though. But it definatley works for my use case.