Implemented expand y collapse all functions