make orientation configurable; work around layout