After many hours pass by since last food intake, acid production should be dropping down. IOW if you go to bed at 11pm, by 3am there should be lot less acid in the stomach, and switching to right side after 3am should not cause serious acid re-flux.
I don't think it matters what side I'm sleeping on, either.