add direction attribute to treebank element - enable arabic on alpheios perseids input form