refactor to add SwipeRobotController