fixed issues with move_cards method in cards controller