changed navigation.js correction of 2 bugs