Resize and reposition portfolio modal.