                     }
                 }
             default:
+                fromTouchToContentCenter = CGFloat(0)
                 break
             }
             

                parentController.addChildViewController(contentController)
                contentController.didMove(toParentViewController: parentController)
                
            case .changed:
                if let view = window.viewWithTag(peekViewTag) as? PeekView {
                    view.updateContentViewFrame(gesture.location(in: view.superview!).y)
                }
            case .ended:
                if let view = window.viewWithTag(peekViewTag) as? PeekView {
                    if let buttonHolderView = view.buttonHolderView, let contentView = view.contentView {
                        if buttonHolderView.frame.minY <= view.frame.maxY - buttonHolderView.frame.height - buttonVerticalPadding {

let peekViewTag = 1929
let tickImageViewTag = 1930
let buttonVerticalPadding = CGFloat(15)
var fromTouchToContentCenter = CGFloat(0)

@objc public enum PeekViewActionStyle : Int {
    case `default`
