Resize the right panel to fit the window when users create a new deck or choose no deck