$.bbq.pushState
$.bbq.getState
$.deparam.fragment

See for ref:
http://benalman.com/code/projects/jquery-bbq/docs/files/jquery-ba-bbq-js.html#jQuery.bbq.pushState


Click the linkes and then click the back button, and watch as the magic happens!