Toggle width functionality