sl2: Fix bar handling.

We have to figure out the style in the sl2 code so the context is
available to the code that gets the bar style.