Refactored wall breaking

fixed animation reset bug