Navigate a single page website with HTML5 history API