side panel now closes detail text