Don't redirect to TabLayout without instance set

fixes #119 on github