onReady workaround for tabs