"When I toggle the mobile view" sounds better to me.