Viewcontroller update

moved offsets from #defines