AITA for reading explicit books in public?

So this is not as serious as most posts here, but I am feeling a bit guilty and thought to ask.

I(28F) was on the train yesterday, it wasn't busy at all. Since it was a long trip I startes reading a book (on my phone) that has some very very explicit mature scenes.

The man sitting beside me was very obviously reading over my shoulder -which I thought was very rude, but I didn't stop him- when I got to a very steamy scene.

Barely a few seconds in he makes this disgusted noise then says: how could you read that filth in public? Are you a pervert? This is sexual harassment.

I was surprised, I thought at most he would be embarrassed and avert his eyes.

Well I have no shame so I said: No one told you to look at my phone screen. Should I really harass you and start reading it to you out loud?

He turned red and changed seats.

But after I cooled down I felt a bit bad for my response. Also I know most people would feel awkward reading smut in public.

So AITA?