adding custom event tracking to slide changes