Made photo viewer load thumbnails from library