js tweak for locking nav positioning