close menu before ajax now