Added toggler functionality