linewrap toggle functional