updateNavigationClasses() {
        const loop = this.loop();
        // Handle navigation arrows
        _.removeClass(this.nextButton, 'disabled');
        _.removeClass(this.prevButton, 'disabled');

        if (this.index == 0 && this.elements.length - 1 == 0) {
            _.addClass(this.prevButton, 'disabled');
            _.addClass(this.nextButton, 'disabled');
        } else if (this.index === 0 && !loop) {
            _.addClass(this.prevButton, 'disabled');
        } else if (this.index === this.elements.length - 1 && !loop) {
            _.addClass(this.nextButton, 'disabled');
        }
    }
Update navigation classes on slide change