gave nav pill element an id
updated nav pill event handler to id navpill as exclusively