modified the events emitted by the slider