add active state on nav pills