$(document).ready(function () {

  $("#container").wrapInner(document.createElement("tr"));
  $("#container").wrapInner(document.createElement("table"));
  $(".box").wrap("<td>");

  // $.localScroll.defaults.axis = 'x';

  // Scroll initially if there's a hash (#something) in the url
  $.localScroll.hash({
    // target: '#container', // Could be a selector or a jQuery object too.
	  queue:false,
    offset: {top:-500, left:0},
    axis:"x,y",
	  duration:1000
	});

  $.localScroll({
  	queue:false,
    duration:1000,
    axis:"x",
    hash:true
    });
});


$(window).scroll(function(){
  $("#navigation")
    .stop()
    .animate({"left": ($(window).scrollLeft() + 0) + "px"}, "fast");
});


