This kind of UX depends on how you set your page up on default.

For something like this what I would do is I would set the default UI to a collapsed state instead.