add selected state for main nav