fixed bug when sliding back to zero