support lazyRender for tabs. Fixes #335