add command for collapse recursively

For getting back from the situation that is expanded recursively