Toggle icon when expanding details