Just add to list id and scroll to this id
<div id="item_1002">content of 1002</div>
<div id="item_1003">content of 1003</div>
<div id="item_1004">
<span>content of 1004</span>
<a href="#item_1002">goto 1002</a>
</div>
this will work even wo js :)
User click on link, go to post with id
(if it avaliable on current page) and have location like http://site.com/#item_1002
. And when user click back browser change url to http://site.com/#item_1004
and scroll to <div id="item_1004">...
EDIT
I'm sure this not work but just as concept its better than my bad English
<script type="text/javascript">
// scroll to id
// http://stackoverflow.com/questions/68165/javascript-to-scroll-long-page-to-div
// need to use this
// History.Adapter.bind(element,event,callback);
// but I'm stuck how it works
// so jQ
$(document).ready(function(){
$('a').click(function(){
// document.getElementById('youridhere').scrollIntoView();
$(this).scrollIntoView();
History.pushState({}, 'title', '#item_ID');
})
// Bind to StateChange Event
// Note: We are using statechange instead of popstate
History.Adapter.bind(window,'statechange',function(){
// Note: We are using History.getState() instead of event.state
var State = History.getState();
$(State.url).scrollIntoView();
});
})
</script>
<div id="item_1002">content of 1002</div>
<div id="item_1003">content of 1003</div>
<div id="item_1004">
<span>content of 1004</span>
<a href="javascript:">goto 1002</a>
</div>