minor cleanup: implemented GalleryView.getDisplayedImages()