modify UIScrollViewDelegate to UICollectionViewDelegate.
add FlipFlopViewController sample.