make notifications work responsively