Update navigation.js

Updated the fade transition so that the duration actually is what's specified