Detect if we already switched nav to not switch every time we resize the...

... window. This fixes a bug preventing to use the keyboard on dropnav search box in Android.