adjust list div ratio to avoid overflow of arrows