add dynamic active status to navigation