added ability to translate animation