changing animation handling