The animation direction needs to be calculated from the middle of the card (X-pos) rather than the left side of the card. Reason: Glitches on different resolution screens