         emptyRowView.backgroundColor = ThemeManager.shared.navigationBar().backgroundColor
         return emptyRowView
     }
-    private func addTotalRowView(newRowView: UIView) {
-        self.addSubview(newRowView)
+
+    private func addTotalRowView(newRowView: UIView, height: CGFloat, inView: UIView) {
+        inView.addSubview(newRowView)
         newRowView.translatesAutoresizingMaskIntoConstraints = false
         NSLayoutConstraint.activate([
             PXLayout.pinLeft(view: newRowView, withMargin: 0),

        }
    }

    private func addEmptyTotalRowView(with rowHeight: CGFloat) {
        let emptyRowView: UIView = createEmptyRowView()
        self.addSubview(emptyRowView)
        NSLayoutConstraint.activate([


            self.layoutIfNeeded()
            var pxAnimator = PXAnimator(duration: animationDuration, dampingRatio: 1)

            pxAnimator.addAnimation(animation: { [weak self] in
                for (index, view) in animationRows.enumerated() {
                    let pinTopConstraint = pinTopConstraints[index]
