fixing close collapse in media queries