makes list items clickable to toggle checked state