Fix tabs: use bootstrap behavior

See issue #567