fixes resize in collection view