fixed flakey problem when clicking directly on navbar links
Merge pull request #14 from daveyk535/navbar6

fixed flakey problem when clicking directly on navbar links