Rename olx.View2DState to olx.ViewState and use viewState property