Implemented navigation state. Not tested yet