resizing it while rotating thr cards