Limit the width of codes and scroll it when overflow.