added the ability to disable navigation