reset sidebar at exit