Fixed the display bugs of navbar by restoring the style of navbar on width < 768px