I don’t quite understand what you are doing in the video (without sound = very difficult to follow, especially when it comes to third-party features), but I think that the accordion needs to be reinitialized. Please have a look here, it might help: