Extends the UICollectionView to make the rotate animation smoother