added vertical-collapse icon and their collapsing function