added pageControl code
Merge pull request #64 from jhaybie/myMaster

added pageControl code