fleshing out layout of view states