Removal of redundant paragraphs at bottom, switching of sidebar items