added support for fade animation