Revert "fixed the card slide out and in function"

This reverts commit 0a5e06a88c082417cd76ba26c7f4faccf0ba2aed.
this is silly