Change moving card logic