                 let isFullScreen = collectLayout.itemSize.width / SCREEN_WIDTH > 2 / 3
                 let layout = isFullScreen ? (isFromFullScreen ? fullScreenLayoutForFullScreen : fullScreenLayoutForNormal):(isFromFullScreen ? normalCollectLayoutForFullScreen : normalCollectLayoutForNormal)
                 let frame = isFullScreen ? fullScreenCollectFrame : collectionViewFrame
+                let scale:CGFloat = isFullScreen ? minScale : 1.0
+                let alpha:CGFloat = isFullScreen ? 1.0 : 0.0
                 collectionView.pagingEnabled = isFullScreen ? true : false
                 let visibleCells = collectionView.visibleCells()
                 UIView.animateWithDuration(duration, delay: 0.0, options: option, animations: { () -> Void in
                     self.collectionView.setCollectionViewLayout(layout, animated: true)
+                    self.pageControl.transform = CGAffineTransformMakeScale(scale, scale)
+                    self.blackView.alpha = alpha
+                    if isFullScreen {
+                        self.collectionView.contentOffset = CGPointMake(CGFloat(Int(self.locationRatio)) * fullScreenCollectFrame.size.width, 0)
+                    }
                     for cell in visibleCells {
                         cell.layoutIfNeeded()
                     }

        layout.scrollDirection = UICollectionViewScrollDirection.Horizontal
        layout.itemSize = CGSizeMake(SCREEN_WIDTH, SCREEN_HEIGHT)
        layout.minimumLineSpacing = fullScreenGap
        layout.sectionInset = UIEdgeInsetsMake(0, fullScreenGap, 0, fullScreenGap)
        return layout
    }
    

private let cellReuseIdentifier = "NewsDetailCell"
private let fullScreenGap:CGFloat = cellGap * SCREEN_WIDTH / normalCellWidth
private let maxTitleLabelY = SCREEN_WIDTH + 15
private let collectionViewFrame = CGRectMake(-fullScreenGap / 2, POSTER_HEIGHT, SCREEN_WIDTH + fullScreenGap, CELL_NORMAL_HEIGHT)
private let fullScreenCollectFrame = CGRectMake(-fullScreenGap / 2, 0, SCREEN_WIDTH + fullScreenGap, SCREEN_HEIGHT)

private let minCellRatio:CGFloat = 3 / 4
private let maxCellRatio:CGFloat = 1.5
private let minScale:CGFloat = 0.95
private let normalCellWidth:CGFloat = CELL_NORMAL_HEIGHT * SCREEN_WIDTH / SCREEN_HEIGHT

class ViewController: UIViewController {
    
    private let collectionView = UICollectionView(frame: collectionViewFrame, collectionViewLayout: UICollectionViewFlowLayout())
    private var pageControl:LSYPageControl = LSYPageControl()
    private var blackView:UIView = UIView()
    
    private var collectLayout:UICollectionViewFlowLayout {
        return collectionView.collectionViewLayout as! UICollectionViewFlowLayout
    }
