update ball sprite based on speed.