made the system stop animating if any clicks are made