style extract page. logic for transitions on routing