Fix #50 add collapse role only if parent if present and #59 role of tabList only if tabPanel is present