slider bug fix