Adding snap-toggle attribute