animation added for sprites