nl_tokens: Toggle sidebar with or withour animation
pl_tokens: function toggleSidebar ( _state , animation ) { if ( gitbook . state != null && isOpen ( ) == _state ) return ; if ( animation == null ) animation = true ; gitbook . state . $book . toggleClass ( 'without-animation' , ! animation ) ; gitbook . state . $book . toggleClass ( 'with-summary' , _state ) ; gitbook . <mask> . set ( 'sidebar' , isOpen ( ) ) ; }