Fix #50 add collapse role only if parent if present and #59 role of tabL...

...ist only if tabPanel is present