made something that demonstrates adding and removing a view from a window