I think he is right that I doubt you have epilepsy- this is a puzzling problem called sandifer syndrome wherein you create a posture as what you did to relieve
hiatus hernia, a small bulge of your stomach. Once you are done with endoscope study, it can be completely curable and you can have a normal life.