keep navigation compatibility in mobile.