make piece animation configurable