Q:

animation jQuery scrollTop doesn't work properly

Does animating the scrollTop property renders inaccurately. 
kindly check this code that i've made in jsbin http://jsbin.com/ewulum/2/edit
what i would like to do is when a link is clicked it would automatically scroll down to it's corresponding section. But i can't figure out what's wrong with the code on why doesn't it scroll down to the corresponding section properly. Clicking on the first two links seem to work fine.
thanks in advance.

A:

Actually it's working and animation jQuery scrollTop working properly. Just add height:2000px to body css. When you are clicking on 3rd,4th or 5th link then it scroll down and as there's no space under section 5 so scroll stop. Add some space below it or add a height on container should solve your problem.

