Menu question?

ok how would i go about doing an navigatoin like so…

say you have 3 links ( contat, home, info).
and the headers for that part is the same name as the buttons
but i want to be able to click on a button say “info” and that moves up to the header part and gets bigger then if i press a diffrent one it moves back down and the other one moves in its place and does the same

and this will move verticly only.

anyone? sorry no example just thought of it