Connect PageViewer to Photo Gallery