fetch: move reference width calculation into `display_state`