Resolved the issue of navbar in mobile view.