Touch handler triggers atom counter and rotation.