This JS will detect the element causing horizontal scrollbar in the browser window. Do include at the bottom of your html file