When the initial window size is greater than 768px and the user resize the window to less or equal than 768px and he presses the menu (jumbotron) button the menu is sliddingOff rather than slidingIn.
This happens because the variable that sets the visibility of the sidebar when the window it's greater than 768px is set to true but when the user resize it, it won't change to false. So the program thinks that the user wants to hide the sidebar. This is only for the initial state and don't exist when the user clicks at least one time the jumbotron.