updated nav.js amd applied changes to the main.css