better garbage collection to remove old views