If a child is destroyed and none is visible, mark first visible. If a view is selected, destroy child