Flipped some variables in Portals

To make them work on the X axis.