add some styles and use browser history location for routes