 }
 
 extension Card: UIScrollViewDelegate {
-
-    public func scrollViewWillBeginDragging(_ scrollView: UIScrollView) { }
+    
+    public func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {}
     
     public func scrollViewDidScroll(_ scrollView: UIScrollView) {
         

        detailSV.frame = self.bounds
        detailView!.frame = CGRect(x: 0, y: backgroundIV.bounds.maxY, width: self.bounds.width, height: detailView!.frame.height)
        detailSV.contentSize = CGSize(width: self.bounds.width, height: backgroundIV.bounds.height + detailView!.bounds.height)
        self.isDetailPresented = true
    }
    
    private func prepareToDiscardDetailView() {

//MARK: - ANIMATION things
extension Card {
    
    private var bounceTransform: CGAffineTransform {
        
        let detailCenter = CGPoint(x: detailFrame.width/2, y: detailFrame.height/2)
        let originalCenter = CGPoint(x: originalFrame.minX + originalFrame.width/2, y: originalFrame.minY + originalFrame.height/3)
        let theOneToMove = isDetailPresented ? detailCenter  : originalCenter
        let theOneToMoveTo = isDetailPresented ? originalCenter  : detailCenter
        
        let xMove = (theOneToMove.x < theOneToMoveTo.x ) ? LayoutHelper.XScreen(bounceIntensity) : -LayoutHelper.XScreen(bounceIntensity)
        let yMove = (theOneToMove.y < theOneToMoveTo.y ) ? LayoutHelper.YScreen(bounceIntensity) : -LayoutHelper.YScreen(bounceIntensity)
