fixing issue of navigation in mobile