add script to add class to body if there is a sidebar