From a method called `isSidebarShowing` I would expect the first param to be the sidebar; is there any reason to have in this order? (it's just a question, it doesn't have an impact on this review)