Added functionality to control portals rotator