My mare does this too. Whenever she puts her head up put your hands up and follow her head with the contact. Keep a consistent contact but the higher she goes the higher you go. Even if you have to put your hands up at the height of your shoulders. This shows her she can't avoid the contact my going up. And incourages her to come back down and be round.