animation transitions work okay, but scaling is wrong