set up data binding/rotation for state 2
set fixed viewport size for mobile