Make portals open and close.