OwnCloud 8.2 - Scrolling through gallery until buttom reached

Hi there,

I was wondering how to scroll through a picture library using javascript console in the browser until the buttom end.
We want to let OwnCloud generate thumbs this way, until we can upgrade to a newer version which supports the necessary occ-commands (occ gallery:create-thumbnails --all). Actually we can't upgrade to v9 yet.

Thanks in advance