Fixing bug of calling makeResponsive before setting menu length.