         // Do any additional setup after loading the view.
         
         self.title = "Story"
-        self.automaticallyAdjustsScrollViewInsets = false
+        //self.automaticallyAdjustsScrollViewInsets = false
+    }
+    
+    func scrolltonextcell()
+    {
+        let contentOffset = collectionview.contentOffset
+        
     }
 
 }

            layout.minimumInteritemSpacing = 0
            layout.minimumLineSpacing = 0
            layout.scrollDirection = .horizontal
            collectionview.collectionViewLayout = layout
            
        }
    }

        let screenheight = UIScreen.main.bounds.size.height
        return CGSize(width: screenwidth, height: screenheight)
    }
    
}
