fixed rotation bug. fixed bug for no rotate on last card. fixed bug for old card behind last card