completed code to make the circle turn from a timer event