That you do this "slang: when your thoughts are being somewhere else, so that you no longer pay attention to what's going on around you; (the defenition for your case);" on пары
By the way: касаться is a transative verb so:
...касается уроков.
Anyway, that's better to say относиться in your context:
... относится к урокам