                     containerView.topAnchor.constraint(equalTo: self.topAnchor),
                     leftMarginConstraint,
                     containerView.widthAnchor.constraint(equalToConstant: containerWidth),
-                    containerView.heightAnchor.constraint(equalToConstant: options.height)
+                    heightConstraint
                     ])
                 contentSize.width = containerWidth + options.margin * 2 + safeAreaInsets.left - safeAreaInsets.right
             } else {

                    containerView.topAnchor.constraint(equalTo: self.topAnchor),
                    leftMarginConstraint,
                    widthConstraint,
                    containerView.heightAnchor.constraint(equalToConstant: options.height)
                    ])
            }


                    containerView.topAnchor.constraint(equalTo: self.topAnchor),
                    leftMarginConstraint,
                    containerView.widthAnchor.constraint(equalToConstant: containerWidth),
                    heightConstraint
                    ])
                contentSize.width = containerWidth + options.margin * 2
            }
