remove sidebar from pages the proper way