Adding show/hide navigation option.