removing a view that is no longer in use