correctly disable/enable layer sliders & checkboxes; fixes #25