Close function galerya y remove div