A theory of the MJO horizontal scale