Text width now resizes when window becomes too small