close detail view when selection changes