create page left right base class