Use FileList.files instead of DOM to get all images

Because of infinite scrolling, not all file entries are in the DOM.

This fix uses the FileList.files array instead.
fix start index calculation for slideshow
Merge pull request #22 from owncloud/usefilesarray

Use FileList.files instead of DOM to get all images