added card rotation and movement