adds animation effects