changed history layout, need to change JS next