added rules for togglable tabs