<commit_before>EPUBJS.reader.ReaderController = function(book) {
	var $main = $("#main"),
			$divider = $("#divider"),
			$loader = $("#loader"),
			$next = $("#next"),
			$prev = $("#prev");

	var slideIn = function() {
        if (Reader.settings.sidebarReflow){
                $('#main').removeClass('single');
        } else {
                $main.removeClass("closed");
        }
    };

    var slideOut = function() {
        if (Reader.settings.sidebarReflow){
                $('#main').addClass('single');
        } else {
                $main.addClass("closed");
        }
    };
<commit_msg>Fixes #106<commit_after>EPUBJS.reader.ReaderController = function(book) {
	var $main = $("#main"),
			$divider = $("#divider"),
			$loader = $("#loader"),
			$next = $("#next"),
			$prev = $("#prev");

	var reader = this

	var slideIn = function() {
        if (reader.settings.sidebarReflow){
                $('#main').removeClass('single');
        } else {
                $main.removeClass("closed");
        }
    };

    var slideOut = function() {
        if (reader.settings.sidebarReflow){
                $('#main').addClass('single');
        } else {
                $main.addClass("closed");
        }
    };

{'fraction_non_alphanumeric': 0.1969080553295362, 'fraction_numerical': 0.0024410089503661514, 'mean_word_length': 2.0445544554455446, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1069113', 'n_tokens_mistral': 373, 'n_tokens_neox': 351, 'n_words': 62}