refactored view removal to include subviews for todo list