setting collectionview bounds in view will appear