modified nav behavior and css