line-simplification: Handle touch/resize events.