code: function( historyEntry, direction ) {
                      // make sure to create a new object to pass down as the navigate event data
                      event.hashchangeState = $.extend({}, historyEntry);
                      event.hashchangeState.direction = direction;
                  }
docs: When the url is either forward or backward in history include the entry as data on the event object for merging as data in the navigate event