integrate the viewpager indicator into the sample project