How the portal illusion works