navigation update

rewrote navigation to use string.format instead of html