Why could someone's heart flutter when he or she lays down?

Heart position. Change in position affects the brain regulation of heart rate. It also may cause stretching of certain chambers. These can result in premature beats or other arrhythmias. Those same arrhythmias may be more easy to feel and notice when lying as opposed to walking around.