added animate effect to ball object