change title of min button to 'restore'