Pokemon ultra sun cant progress past battle with rival

I need to clean my pokemon or something but I’m pretty sure you need to do it by touching the screen which obviously can’t be done by touching my monitor I’ve tried every control but I cant progress

uh, does clicking with the mouse not work?