Adding media query code to handle the earlier collapse of the navbar.