added new nav function which is more versatile, fixed some bugs, worked on semver....