fix closing media query on large grid