public void Scroll(object sender, DirectionArgs args)
        {
            SideToSideType menu = sender as SideToSideType;

            if (args.direction == Direction.left)
            {
                current = menu.Left;
            }
            else if (args.direction == Direction.right)
            {
                current = menu.Right;
            }
        }
        public override void add(MenuType menu)
        {
            SideToSideType temp = menu as SideToSideType;

            if (temp != null)
            {
                temp.Scroll += Scroll;
                base.add(temp);
            }
            else
            {
                base.add(menu);
            }
        }