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

        // Do any additional setup after loading the view.
        
        self.title = "Story"
        self.automaticallyAdjustsScrollViewInsets = false
    }

}

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