//        CircleLayout circleLayout;

        public SplitViewContoller() : base()
        {
            sd       = new SplitDelegate();
            Delegate = sd;

            animalsController = new AnimalsController();

            flowLayout = new UICollectionViewFlowLayout()
            {
                SectionInset = new UIEdgeInsets(20, 20, 20, 20)
            };
            animalImageController = new BingImageGridViewController(flowLayout);

//            circleLayout = new CircleLayout ();
//            animalImageController = new BingImageGridViewController (circleLayout);

            animalsController.AnimalSelected += (sender, e) => {
                animalImageController.LoadImages(e.Animal);
            };

            ViewControllers = new UIViewController[] {
                animalsController,
                animalImageController
            };
        }
        public SplitViewContoller () : base()
        {
            sd = new SplitDelegate ();
            Delegate = sd;

            animalsController = new AnimalsController ();
            layout = new UICollectionViewFlowLayout (){
                SectionInset = new UIEdgeInsets (20,20,20,20)
            };

            animalImageController = new BingImageGridViewController (layout);

            animalsController.AnimalSelected+= (sender, e) => {
                animalImageController.LoadImages (e.Animal);
            };

            ViewControllers = new UIViewController[] {
                animalsController,
                animalImageController
            };
        }