added fill-mode and direction to animation