change width when closed