The code is here for reference.
When the button is pressed, the state is changed and #container1 is replaced with #container2. The page remains at the same height and the