fix of navigation wrapping in mobile