add width changing depending on other events.