You wonder if it's your heart, right? Answer: No.
A. Your pain is right sided. When heart pain is involved, the pain is almost always--not always, but almost always--LEFT sided.
B. Much more important: Due to the way our nervous systems develop, pain that occurs or varies when we change body position is NOT heart pain. Google "somatic vs visceral pain,"