Fixed slider bug