                 delta = nil
             }
 
-            let imageWidth = frame.width - 2 * Size.insets - 2 * Size.lilBits
+            let imageWidth = frame.width - Size.insets.left - Size.insets.right - 2 * Size.lilBits
             if let delta = delta {
                 switch delta {
                 case .prev:

    }

    @objc
    func gestureMovement(gesture: UIPanGestureRecognizer) {
        let translation = gesture.translation(in: self)

        if gesture.state == .ended {
            let velocity = gesture.velocity(in: self)
            let delta: Delta?
            if translation.x < -20 && velocity.x < 0 && delegate?.imageURLsForScreen().next != nil {

        let newPrevURL = urls?.prev
        let newCurrURL = urls?.current
        let newNextURL = urls?.next

        if let imageSuperview = currImageView.superview {
            currImageView.removeFromSuperview()
            imageSuperview.addSubview(currImageView)
        }

        let items = [
            (newPrevURL, prevURL, prevImageView, false),
