[update] fixed slide close function