adding some checks so errors are not thrown when there is no nav to select
Merge branch 'master' of github.com:emkay/nav-selector