@Override
    public void actionPerformed(GUIComponent source) {
        if (source == forwardArrow) {
            nextSlide();
        }
        else if (source == backArrow) {
            previousSlide();
        }
    }