Adding slide complete function hook