And also I suggest to move the READ_DIRECTION variable, as this variable is required in all pages, not like other variables which it may not used in some pages.
Thank you Bader AlNadabi
"The Simple Life always walks smoothly, so to make your life smooth, keep every things simple in your life" AlNadabi =================