adds media querie to toolbar