Javascript support for right handed languages

It may be a little not in your scope but please be patient.

In Feeling responsive jekyll theme “built on foundation” when we choose $text-direction: rtl;
$opposite-direction: left;
in scss files the navbar menu doesn’t show drop downs when you click on any button that have drop down.
I think the problem is in javascript in foundation version number 5 for sites in those files : https://github.com/Phlow/feeling-responsive/tree/gh-pages/assets/js

I have made an issue on github:

I don’t know javascript but I think it might be easy.
if any one can help I will appreciate it.

In general Foundation Sites 5 is not supported by us anymore.