Updating nav pill selection to be limited to items under #nav