set up viewpager for rules