change the width of the panel