slider one slide bug fix