A context manager in funfactory provides a `DIR` variable which is 'ltr' or 'rtl' depending on the current locale. Should be able to simply use that.

https://github.com/mozilla/funfactory/blob/master/funfactory/context_processors.py#L9