Automatically switch to tab on join