bug fix for card index when rotating