update to latest gradle. remove retained fragment for image cache to share data across multiple instances of PagerActivity.