Orgasms and Periods

So, ever since I managed to achieve my Big O (YASSDD FINALLY!!), I noticed a couple of things. So, usually when I'm on my period, I get really, really sexually frustrated (sorry for the TMI), and so I started, ya know, masturbating. And ever since I have started masturbating on my periods, my periods are shorter than their usual 9-12 days. Is this random? Does it only happen to me? Did it ever happen to any of you?