[frontend] Hide/Show things properly on transitions.