holoirc: refactor PagerAdapter