make toggle for displaying checked items functional