open and closes the gripper