working monotouch version of the SMPageControl class