disable nav when loading