Custom event on slide switch.