animations, ball logic