style changes, js history added (not fully working yet)