framework for card specific animations