Moved the cube in one direction