Close accordion automatically