SB2: proper highlighting of opened/current tabs.
SB2: take orientation into account in highlighting.
Merge remote-tracking branch 'upstream/master'