Block until cordova has loaded, close page menu after navigation.