add animation in checkbox