Revert "convert portal_transforms to utility"

This reverts commit 1da7e78d1d0ed000f9c3c8446941059a962b8f9b.

move change to topic branch