change pruning style, dynamic update of sidebar