modify the way active tabs are dealt with, putting the config in the view layouts