Added onclick functions to start and stop animations