changed setinterval to query off the navigator directly