Fixes a bug where the wrong selector is used to initiate royal slider.