I'm animating a div to left by 0px by clicking on the div colored in red. Below the div , classes are added to li's as the div moves along, but the classes gets added to only certain li's and not all. 

Is there any other logic to fix this ? 

Fiddle - <http://jsfiddle.net/AsfFQ/16/>

Below is the image of the issue
![enter image description here](https://i.stack.imgur.com/zu2vM.png)