materialbox animation animation stops properly now and all callbacks are called at correct times