moved custom toggle js to theme