Reposition jQuery Mobile popup after content change
$("#MoveFolderPopup").popup("reposition", {positionTo: 'origin'});
or
$("#MoveFolderPopup").popup("reposition", {positionTo: 'window'});
in this case either will do, because data-position-to="window"