Implemented ajax loading of tour. History functionality added.