reposition popup on rotate + resize