         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),


            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]

            PXLayout.pinLeft(view: emptyRowView),
            PXLayout.pinRight(view: emptyRowView)
        ])
        return emptyRowView
    }
    private func createEmptyRowView() -> UIView {
        let emptyRowView = UIView()
