make reshare settings foldable

Unchecking "Allow reshare" setting will hide unnecessary settings.