rework nav to use js so it can work on touch devices