make nav toggler more generic