         super.layoutSubviews()
     }
     
+    //MARK: actions
+    
+    func actionAdd(sender button:UIButton)
+    {
+        currentIndex -= 1
+        
+        if currentIndex <= 0
+        {
+            deActivateAdd()
+        }
+        else
+        {
+            activateRest()
+        }
+        
+        print()
+    }
+    
+    func actionRest(sender button:UIButton)
+    {
+        currentIndex += 1
+        
+        if currentIndex >= model.items.count - 1
+        {
+            deActivateRest()
+        }
+        else
+        {
+            activateAdd()
+        }
+        
+        print()
+    }
+    
     //MARK: private
+    
+    private func print()
+    {
+        let item:MHomeFramesItem = model.items[currentIndex]
+        label.text = item.name
+    }
     
     private func activateAdd()
     {

    private weak var layoutAddTop:NSLayoutConstraint!
    private let kButtonsHeight:CGFloat = 40
    private let kButtonsWidth:CGFloat = 50
    private let kAlphaActive:CGFloat = 1
    private let kAlphaNotActive:CGFloat = 0.2
    

        let layoutRestWidth:NSLayoutConstraint = NSLayoutConstraint.width(
            view:buttonRest,
            constant:kButtonsWidth)
        
        let layoutLabelTop:NSLayoutConstraint = NSLayoutConstraint.topToTop(
            view:label,
            toView:self)
        let layoutLabelBottom:NSLayoutConstraint = NSLayoutConstraint.bottomToBottom(
            view:label,
            toView:self)
        let layoutLabelRight:NSLayoutConstraint = NSLayoutConstraint.rightToRight(
            view:label,
            toView:self)
        let layoutLabelWidth:NSLayoutConstraint = NSLayoutConstraint.width(
            view:label,
            constant:kLabelWidth)
        
        addConstraints([
            layoutAddTop,
