Please view the source of this page if you are having difficulties setting up GalleryView.