tweaking nav control js so stepping works as expected