fixing slider bug in event