JavaScript not detecting change
<p>I am sure this is easy but I've looked all over with no luck. I have written a paging jQuery script that animates a list on my page. I have next and previous buttons which I am showing/hiding depending on where you are in the list however it doesnt pick up the position change the first time. Here is my code in jsFiddle:</p>

<p><a href="http://jsfiddle.net/mikeoram/t4787/" rel="nofollow">http://jsfiddle.net/mikeoram/t4787/</a></p>

<p>I'm sure I'm only missing something simple, all suggestions would be helpful.</p>

<p>Please only answer my question, there are reasons I'm doing it the way I am, and i no it can be done differently.</p>

<p>Thanks,</p>

<p>Mike</p>
