close expanded item on click