         scrollView.showsHorizontalScrollIndicator = false
         scrollView.isScrollEnabled = true
         scrollView.contentSize = imageView.intrinsicContentSize
+        let rotate = CGAffineTransform(rotationAngle: CGFloat.pi / 2)
+        captureButton.transform = rotate
+        closeButton.transform = rotate
     }
 
     fileprivate func configureConstraints() {

        let views: [String: Any] = [
            "closeButton": closeButton,
            "outline": outline,
            ]

        let metrics: [String: CGFloat]  = [

        outline.addSubview(scrollView)
        scrollView.addSubview(imageView)
        view.addSubview(closeButton)
        view.addSubview(captureButton)
    }

    private func configureViews() {
