Uses the html5 history API to allow the use of the back button.
fix style issues