UrlPagerAdapter minor update

Deprecated calls removed and a bit optimized