 
     // Save TabBar state (the state is changed during the transition and restored on compeltion)
     if let tab = followers.first(where: { $0 is UITabBar }) as? UITabBar {
-      self.sourceTabBar = UITabBar(frame: tab.frame)
-      self.sourceTabBar?.isTranslucent = tab.isTranslucent
+      self.sourceTabBar = TabBarMock(origin: CGPoint(x: tab.frame.origin.x, y: CGFloat(round(tab.frame.origin.y))), translucent: tab.isTranslucent)
     }
     self.followers = followers
     self.scrollSpeedFactor = CGFloat(scrollSpeedFactor)

   An array of `UIView`s that will follow the navbar
   */
  open var followers: [UIView] = []

  open fileprivate(set) var gestureRecognizer: UIPanGestureRecognizer?
  fileprivate var sourceTabBar: UITabBar?
  var delayDistance: CGFloat = 0
  var maxDelay: CGFloat = 0
  var scrollableView: UIView?

      tabBar.frame.origin.y += delta * (tabBar.frame.height / navigationBar.frame.height)

      // Set the bar to its original state if it's in its original position
      if let originalTabBar = sourceTabBar, originalTabBar.origin.y == round(tabBar.frame.origin.y){
        tabBar.isTranslucent = originalTabBar.isTranslucent
      }
    }
