Quick tip please!

I’m learning to prototype and I’m having a lot of trouble! I would like the navbar in the prototype to appear only on the second screen (it should not be visible on the first screen) and then it would be docked to the top edge when scrolling.
When it scrolls to the first screen, the navigation disappears.

exactly like on this page:

Is it possible to prototype?

Thank you in advance!