add selected state to main navigation