The first check is to address error reported in #5 

The second is for consistency. Scrolling will be disabled only if the elements having classes `div.viewSideBar` or `div.viewMain`are not found. If we remove any of these checks and the corresponding elements are missing, it will through an error.

What make you think sidebar scrolling will be systematically disabled ?