Added internal flag to detect back/forward use

var state = History.getState();
if (state.internal) { }