togglers and sliders made more generic