change the sidebar active status