Stops the animation in sections over the section clicked in nav bar