Automatically handle CSS transforms from an active and passive state within ImpactJS