changed nav according to params display