jquery history plugin - infinite ajax requests in background

jquery history plugin - infinite ajax requests in background

Hi.
I am trying to configure the jquery.history plugin and i manage to get the basic function working (back button works but the transititions between pages are not smooth, It looks like he loads the page at least 2 times.

Also i have checked with Firebug and the plugin keeps making infinite ajax requests.

This is my code:
  1.  function callback(hash)
    {
        if(hash) {
               ajaxLoad('l....?page='+hash,null,'#target');               
            } else {
                // start page
                alert("startPage");
                //$j("#load").empty();
            }
    }

        $(document).ready(function() {
            $.history.init(callback);
            $('.pagination a').click(function(){
                $.history.load(this.href.replace(/^.*#/, ''));
                return false;
            });
          

















  2. ajax load function just encapsulates the jquery.load function like this:
  3. function ajaxLoad(url,data,target)
    {
        $('.loader').show();
        $(target).load(url,data,function(){
             $('.loader').hide();
        });
        return false;





My links are like this:
   href=...?>page=1#1

Whats wrong?