Add PhotoPagerAdapter class