added option to collapse disabled children
memorize collapse option in localstorage