     }
     /// Tells the layout object to update the current layout.
     open override func prepare() {
-        print("prepare called.")
+//        print("prepare called.")
         if !layoutIsReadyToBePrepared { return }
-        print("prepare was re-calculated.")
+//        print("prepare was re-calculated.")
         
         setupDataFromDelegate()
         

        var retval = proposedContentOffset
        
        if let focusIndexPath = focusIndexPath {
            print("path retrieved: \(focusIndexPath)")
            if thereAreHeaders {
                let headerIndexPath = IndexPath(item: 0, section: focusIndexPath.section)
                if let headerAttr = layoutAttributesForSupplementaryView(ofKind: UICollectionElementKindSectionHeader, at: headerIndexPath) {

        var retval: IndexPath?
        switch direction {
        case .next:
            if let data = cellCache[section], data.count > item + 1 {
                retval = IndexPath(item: item + 1, section: section)
            } else if let data = cellCache[section + 1], !data.isEmpty {
                retval = IndexPath(item: 0, section: section + 1)
            }
        case .previous:
            if let data = cellCache[section], item - 1 >= 0 {
                retval = IndexPath(item: item - 1, section: section)
            } else if let data = cellCache[section - 1], !data.isEmpty {
                retval = IndexPath(item: data.count - 1, section: section - 1)
            }
        default:
            break
        }
        print("-> \(retval)")
        return retval
    }

