update the page width after creating a new deck