Wired galleryview into new gallery plugin