modify toggle button
implement DOM version