Trigger the resizing of our slider

Our slider takes up its size and the positions of the layers, when the website loads or when the browser is resized. But it doesn't resize, if you would just resize the containing elements of the slider using javascript, unless if you trigger this code:

window['n2-ss-116'].responsive.doResize();

The 116 should be the  ID of the slider.