Pokeball opening animation using CSS JavaScript