Don't worry, what you felt is likely just hiccups or a strong kick that felt rhythmic because of the position you were in. At 22 weeks, baby movements are still quite subtle and change based on how you're positioned, so switching to your side probably just shifted things around and made the sensation stop. That said, if you start noticing any patterns where movements feel off or if you're ever unsure, it's always good to mention it to your gynae at your next visit just for peace of mind.