slide working with card change