Javascript issue fixed

hiding and showing nav button during different states.