Add trace/debug function to fx.animate()