nav bar using localstorage