allow current index to be set to -1

do not automatically select the next widget when adding or removing from
the stack. That should be handled by the widget which uses a stack
widget internally.
allow the tab bar index to be directly set to 1