Added code for animation of Tack