added isSelected function for nav selection
Merge pull request #44 from markizs/nav-selected

added isSelected function for nav selection