switched background handling