Animate sprites and make movement smoother