replace change callback to slide