   public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat {
     return 0
   }
-  
-  
 }
 
 // MARK: - UICollectionViewDelegate
 
 @available(iOS 9.0, *)
 extension LAMenuBar: UICollectionViewDelegate {
+  
+  public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
+    // TODO: Change number of items
+    let x = CGFloat(indexPath.item) * frame.width / 4
+    leftAnchorContraint?.constant = x
+    
+  }
 }

    horizontalBarView.translatesAutoresizingMaskIntoConstraints = false
    addSubview(horizontalBarView)
    
    let leftContraint = horizontalBarView.leftAnchor.constraint(equalTo: self.leftAnchor)
    let bottomContraint = horizontalBarView.bottomAnchor.constraint(equalTo: self.bottomAnchor)
    let constraintForBotton = horizontalBarView.widthAnchor.constraint(equalTo: self.widthAnchor, multiplier: 1/4)
    let constraintForHeight = horizontalBarView.heightAnchor.constraint(equalToConstant: 4)
    
    NSLayoutConstraint.activate([leftContraint, bottomContraint, constraintForBotton, constraintForHeight])
  }
  
  fileprivate func setupView() {

@available(iOS 9.0, *)
public final class LAMenuBar: UIView {
  
  fileprivate var leftAnchorContraint: NSLayoutConstraint?
  public var imagesNames: [String]?
  
  private lazy var collectionView: UICollectionView = {
