Reverse the menu direction if the body has an "rtl" class