ti ho già risp io! devi mettere la stessa funzione sul div che vuoi tenere aperto!