added media query for changing navbar collapsed status