Add avoiding for UICollectionViews

It's pretty much exactly what you've done for UITableView — no changes were necessary