This reverts commit edcc0c27. Since the colorscale styling is wrong in rtl, need to do things differntly.