nav switching working