added checkboxes and fade distance track bar